package cn.com.api.service.impl.base;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.com.api.entity.ApiU_bonus_push;

import cn.com.api.mapper.ApiU_bonus_pushMapper;

import cn.com.api.service.ApiU_bonus_pushService;

/**
 * 
 **/
@Service
public class U_bonus_pushServiceImplBase {
	@Autowired
	private ApiU_bonus_pushMapper apiU_bonus_pushMapper;
    
    // 根据id获取
	public ApiU_bonus_push findU_bonus_pushById(Integer id){
		ApiU_bonus_push u_bonus_push = apiU_bonus_pushMapper.findU_bonus_pushById( id );
		return u_bonus_push;
	}
    
    //查看数据集
	public List<ApiU_bonus_push> findU_bonus_pushs(){
        List<ApiU_bonus_push> u_bonus_pushs = apiU_bonus_pushMapper.findU_bonus_pushs();
		return u_bonus_pushs;
    }
    
	// 添加
	public int insertU_bonus_push(ApiU_bonus_push u_bonus_push){
		int ret_I= apiU_bonus_pushMapper.insertU_bonus_push(u_bonus_push);
		return ret_I;
	}

	// 修改
	public int updateU_bonus_push(ApiU_bonus_push u_bonus_push){
		int ret_I= apiU_bonus_pushMapper.updateU_bonus_push(u_bonus_push);
		return ret_I;
	}
	
    // 删除
	public int deleteU_bonus_push(Integer id){
		int ret_I= apiU_bonus_pushMapper.deleteU_bonus_push( id );
		return ret_I;
	}
	
    // Foreign keys revelant		
		

	//region Indexs revelant
    
    
    
    
}


